unshar - meaning and definition. What is unshar
Diclib.com
ChatGPT AI Dictionary
Enter a word or phrase in any language 👆
Language:

Translation and analysis of words by ChatGPT artificial intelligence

On this page you can get a detailed analysis of a word or phrase, produced by the best artificial intelligence technology to date:

  • how the word is used
  • frequency of use
  • it is used more often in oral or written speech
  • word translation options
  • usage examples (several phrases with translation)
  • etymology

What (who) is unshar - definition

ARCHIVE FILE FORMAT
Shell archive; Shar (file format); Unshar; Sharutils; .shar

unshar         
A Unix utility that removes e-mail and news header lines from its input, and feeds the remainder (which is presumed to be a shar file) to /bin/sh to unpack it. unshar is designed for unpacking archives directly from the news or mail systems simply by piping a message into it.
Shar         
In the Unix operating system, shar (an abbreviation of shell archive) is an archive format created with the Unix shar utility. A shar file is a type of self-extracting archive, because it is a valid shell script, and executing it will recreate the files.
shar         
<tool, file format> ("Shell archive", after ar and tar) Any of the many Unix programs that creates a flattened representation of one or more files, with the unique property that it can be unflattened (the original files extracted) merely by feeding it through a standard Unix shell. The output of shar, known as a "shar file" or "sharchive", can be distributed to anyone running Unix, and no special unpacking software is required. Sharchives are intriguing in that they are typically created by shell scripts; the script that produces sharchives is thus a script which produces self-unpacking scripts, which may themselves contain scripts. The disadvantage of sharchives are that they are an ideal venue for Trojan horse attacks and that, for recipients not running Unix, no simple un-sharchiving program is possible; sharchives can and do make use of arbitrarily-powerful shell features and other Unix commands. Different implementations of shar vary in sophistication. Some just uuencode each input file and output commands to uudecode the result, others include extensive checking to make sure the files have been transferred without corruption and that all parts of a multi-file sharchive have been unpacked. The unshar utility strips off mail and news headers before passing the remainder of its input to sh. (1996-10-18)

Wikipedia

Shar

In the Unix operating system, shar (an abbreviation of shell archive) is an archive format created with the Unix shar utility. A shar file is a type of self-extracting archive, because it is a valid shell script, and executing it will recreate the files. To extract the files, only the standard Unix Bourne shell sh is usually required.

Note that the shar command is not specified by the Single Unix Specification, so it is not formally a component of Unix, but a legacy utility.